package com.walterlife.dp.CompositeDP;

import org.apache.log4j.Logger;

public class Triangle implements Shape {

    private String name;

    private static Logger logger = Logger.getLogger(Circle.class);

    public Triangle(String name) {
        this.name = name;
    } 

    public void draw(String color) {
        logger.info("Triangle draw with Color: " + color);
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }
}
